package com.itheima.homework1;

public class Test {
    public static void main(String[] args) {
        Employee e1 = new Manager("李小亮");
        Employee e2 = new Clerk("张小强");
        e1.setWorkId("M001");
        e1.setName("张小强");
        e1.setDept("销售部");
        e2.setWorkId("C001");
        e2.setName("李小亮");
        e2.setDept("销售部");
        e1.showMsg();
        e2.showMsg();
    }
}
